<?php

namespace Utility\Log;

use Utility\ServiceLocator\ServiceLocator;

class Logger {

	private static $logger = null;
	/**
	 * Add a processor to a logger
	 *以下注释功能 表示 调用页 可提升相关信息
	 * @return \Zend\Log\Logger
	 */
	public static function getLogger() {
		
		if (self::$logger === null)
			self::$logger = ServiceLocator::getServiceLocator()->get('Utility\Log\Logger');
		
		return self::$logger;
	}
}